package com.inspur.service.impl;

import java.util.HashMap;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.inspur.mapper.MgrWorkjcMapper;
import com.inspur.pojo.MgrWorkjc;
import com.inspur.service.MgrWorkjcService;



@Service("MgrWorkjcService")
public class MgrWorkjcServiceImpl implements MgrWorkjcService{

	@Autowired
	private MgrWorkjcMapper mgrWorkjcMapper;
	
	@Override
	public List<MgrWorkjc> getWorkList(HashMap<String, Object> map) {

		return mgrWorkjcMapper.getWorkList(map);
	}
	@Override
	public void workjcAdd(MgrWorkjc MgrWorkjc){
		mgrWorkjcMapper.workjcAdd(MgrWorkjc);
	}
	@Override
	public void deletejc(int ids[]){
		mgrWorkjcMapper.deletejc(ids);
	}
	@Override
	public List<MgrWorkjc> getjcbycmkey(int cmkey){
		return mgrWorkjcMapper.getjcbycmkey(cmkey);
		
	}
	@Override
	public void jcUpdate(MgrWorkjc mgrWorkzj){
		mgrWorkjcMapper.jcUpdate(mgrWorkzj);
	}
}
